package com.xrc.T2;

public class StudentTset {
    public static void main(String[] args) {
        StudentBiz sb=new StudentBiz();
        sb.addStudent( new Student(1, "张三", 20, 69.0) );
        sb.addStudent( new Student(4, "李四", 22, 79.0) );
        sb.addStudent( new Student(5, "王五", 18, 89.0) );
        sb.addStudent( new Student(6, "赵六", 26, 59.0) );
        sb.addStudent( new Student(3, "麻子", 16, 99.0) );

        sb.sortBYAge();
        sb.showStudent();
        System.out.println("===================");
        sb.sortBYScore();
        sb.showStudent();
    }
}
